Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Open Documentation button to signals #64411

Closed
wants to merge 1 commit into from

Conversation

fire-forge
Copy link
Contributor

@fire-forge fire-forge commented Aug 14, 2022

Adds an Open Documentation button to the context menu of signals in the Node dock.

image

Related to #59680, where an Open Documentation button was added to the context menu of properties in the inspector.

@Chaosus Chaosus added this to the 4.0 milestone Aug 15, 2022
@fire-forge fire-forge force-pushed the signal-doc branch 2 times, most recently from 840ef6d to 103d8b9 Compare August 20, 2022 22:40
@fire-forge fire-forge marked this pull request as ready for review August 20, 2022 22:40
@fire-forge
Copy link
Contributor Author

I am running into an issue where pressing the Open Documentation button occasionally doesn't do anything. After much testing and looking through the source code, I can't figure out the specific conditions that cause the bug to occur. Any help with this would be appreciated!

Aside from that, the PR should be ready for review.

@@ -919,7 +919,6 @@ void EditorProperty::menu_option(int p_option) {
} break;
case MENU_OPEN_DOCUMENTATION: {
ScriptEditor::get_singleton()->goto_help(doc_path);
EditorNode::get_singleton()->set_visible_editor(EditorNode::EDITOR_SCRIPT);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ScriptEditor::get_singleton()->goto_help() already calls this function, so this line was redundant.

@YuriSizov YuriSizov modified the milestones: 4.0, 4.1 Feb 10, 2023
@YuriSizov YuriSizov requested a review from a team February 10, 2023 12:35
@YuriSizov YuriSizov modified the milestones: 4.1, 4.2 Jun 14, 2023
@AThousandShips AThousandShips modified the milestones: 4.2, 4.3 Oct 26, 2023
@KoBeWi
Copy link
Member

KoBeWi commented Jul 24, 2024

Superseded by #81092
Thanks for the contribution nonetheless.

@KoBeWi KoBeWi closed this Jul 24, 2024
@KoBeWi KoBeWi removed this from the 4.3 milestone Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants